#include<cstdio>//uncle-lu
#include<algorithm>

int main()
{
	int a,b,c;

	scanf("%d%d%d",&a,&b,&c);
	printf("%.0lf",a*0.2+b*0.3+c*0.5);

	return 0;
}
